﻿Imports DTO
Imports DAO


Public Class CTinhTrangDauSachBUS

    Public Function LayDanhSachTinhTrangDauSach() As List(Of CTinhTrangDauSachDTO)
        Return New CTinhTrangDauSachDAO().LayDanhSachTinhTrangDauSach()
    End Function

    Public Function ThemTinhTrangDauSach(ByVal tentinhtrangdausach As String) As Integer
        Return New CTinhTrangDauSachDAO().ThemTinhTrangDauSach(tentinhtrangdausach)
    End Function


    Public Function CapNhatTenTinhTrangDauSach(ByVal tinhtrangdausach As CTinhTrangDauSachDTO) As Integer
        Return New CTinhTrangDauSachDAO().CapNhatTinhTrangDauSach(tinhtrangdausach)
    End Function

End Class
